#######################################################
# ETFDAQ Project
#
# Author SUN Yazhou
# Created: 2024/08/19
# Last modified: 2024/08/19
#######################################################

set(target ETFGDAQ)

set(CMAKE_AUTOMOC ON)
# set(CMAKE_PREFIX_PATH /usr/local/Qt-6.7.2)
find_package(Qt5 COMPONENTS Core Widgets REQUIRED)

file(GLOB_RECURSE LIB_SRCS *.cxx)
add_library(${target} SHARED ${LIB_SRCS})
target_link_libraries(${target} PUBLIC Qt5::Core Qt5::Widgets ETFDAQ)
target_include_directories(${target} PUBLIC ./)
